package com.sunhy.cpdemo1.controller;

import com.sunhy.cpdemo1.entity.Article;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/article")
public class ArticleController {

    @GetMapping("/")
    public List<Article> getAll() {
        return null;
    }

}
